<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="/Public/Admin/css/base.css"/>
    <link rel="stylesheet" href="/Public/Admin/css/info-reg.css"/>

    <script type="text/javascript" src="/Public/Admin/js/jquery-2.0.2.js"></script>
    <script type="text/javascript" src="/Public/Admin/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/Public/Admin/ueditor/ueditor.all.min.js"></script>

    <!-- <script type="text/javascript" src="/Public/js/jquery-2.0.2.js"></script>
     <script type="text/javascript" src="/Public/ueditor/ueditor.config.js"></script>
     <script type="text/javascript" src="/Public/ueditor/ueditor.all.min.js"></script>-->
    <title>移动办公自动化系统</title>
    <style type='text/css'>
        select {
            background: rgba(0, 0, 0, 0) url("/Public/Admin/images/inputbg.png") repeat-x scroll 0 0;
            border: 1px solid #c5d6e0;
            height: 28px;
            outline: medium none;
            padding: 0 8px;
            width: 240px;
        }

        .main p input {
            float: none;
        }
    </style>
</head>

<body>
<div class="title"><h2>公文起草</h2></div>
<form action="" method="post" enctype="multipart/form-data">
    <div class="main">
        <p class="short-input ue-clear">
            <label>标题：</label>
            <input name="title" type="text" placeholder="标题..."/>
        </p>
        <p class="short-input ue-clear">
            <label>附件：</label>
            <input name="file" type="file"/>
        </p>
        <p class="short-input ue-clear">
            <label>作者：</label>
            <input name="author" type="text" placeholder="作者..."/>
        </p>
        <p class="short-input ue-clear">
            <label>内容：<script id="container" name="content" type="text/plain" style="width:800px;height:300px;">
                </script></label>
        </p>
    </div>
    <div class="btn ue-clear">
        <a href="javascript:;" class="confirm" id='btnSubmit'>确定</a>
        <a href="javascript:;" class="clear" id='btnReset'>清空内容</a>
    </div>
</form>
</body>
<script type="text/javascript" src="/Public/Admin/js/jquery.js"></script>
<script type="text/javascript" src="/Public/Admin/js/common.js"></script>
<script type="text/javascript" src="/Public/Admin/js/WdatePicker.js"></script>
<script type="text/javascript">
    $(function () {
        /*      var ue = UE.getEditor('container',{
                  serverUrl :'<?php echo U('Home/Index/ueditor');?>'
          });*/
        var ue = UE.getEditor('container');
    })
    $(function () {
        $('#btnSubmit').on('click', function () {
            $('form').submit();
        });

        $('#btnReset').on('click', function () {
            $('form')[0].reset();
        });
    });

    $(".select-title").on("click", function () {
        $(".select-list").toggle();
        return false;
    });
    $(".select-list").on("click", "li", function () {
        var txt = $(this).text();
        $(".select-title").find("span").text(txt);
    });
    showRemind('input[type=text], textarea', 'placeholder');
</script>
</html>